FROM rabbitmq:3.12.10-management
ADD ./images/rabbitmq/plugins/rabbitmq_delayed_message_exchange-3.12.0.ez /plugins/
RUN chmod 777 /plugins/rabbitmq_delayed_message_exchange-3.12.0.ez
RUN rabbitmq-plugins enable rabbitmq_management
RUN rabbitmq-plugins enable rabbitmq_delayed_message_exchange
ENTRYPOINT ["rabbitmq-server"]